package com.cskaoyan.mall.model.bo.admin;

import java.util.List;

/*
        desc: "可爱，小萌妹必备"
        id: "3"
        name: "2020可爱背包"
        specList: [{id: 5, specName: "小号", stockNum: 200, unitPrice: 50},…]
        0: {id: 5, specName: "小号", stockNum: 200, unitPrice: 50}
        1: {id: 6, specName: "大号", stockNum: 150, unitPrice: 55}
        2: {goodsId: "3", specName: "XXXL码", stockNum: "1", unitPrice: "1"}
        typeId: 2
         */
public class UpdateGoodsBO {
    private String id;
    private String name;
    private Integer typeId;
    private String desc;
    private List<UpdateSpecBO> specList;
    private String img;

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public List<UpdateSpecBO> getSpecList() {
        return specList;
    }

    public void setSpecList(List<UpdateSpecBO> specList) {
        this.specList = specList;
    }
}
